﻿using System.Configuration;

namespace Wedn.Net.UI.Route
{
    /// <summary>
    /// 忽略Routing的项
    /// </summary>
    public class IgnoreItem : ConfigurationElement
    {
        [ConfigurationProperty("url", IsRequired = true, IsKey = true)]
        public string Url
        {
            get { return this["url"].ToString(); }
            set { this["url"] = value; }
        }

        [ConfigurationProperty("constraints", IsRequired = false)]
        public ConstraintCollection Constraints
        {
            get { return this["constraints"] as ConstraintCollection; }
            set { this["constraints"] = value; }
        }
    }
}
